package demo;

import domain.Phone;

public class Demo2 {
    public static void main(String[] args) {
        Phone phone = new Phone();
        phone.setBrand("小米");
        phone.getBrand();
        phone.setColor("黑色");
        phone.getColor();
        phone.setPrice(3998);
        phone.getPrice();
        phone.call();
        phone.sendMessage();

    }
}
